
import request from '@/utils/request';
import { Result } from './definitions/Result';
import { ShopCheck } from './definitions/ShopCheck';


export class ShopCheckController {

    static insertUsingPOSTPath: string = "/v1/api/shopCheck";
    /// insert
    async insertUsingPOST(data: ShopCheck, headers?: any):  Promise<any> {
      return request(`/v1/api/shopCheck`, {
        method: "POST",
        data: JSON.stringify(data) ,
        headers: headers,
      }) as Promise<any>;
    }
    
    static selectOneUsingGETPath: string = "/v1/api/shopCheck/selectOne";

    async selectOneUsingGET(id: any,  headers?: any) : Promise<ShopCheck> {
      return request(`/v1/api/shopCheck/selectOne?id=${id ?? "" }`, {
        method: "GET",
        headers: headers,
      }) as Promise<any>;
    }
    
}